package main

import (
	"WORKSPACE/models"
	"WORKSPACE/pkg/setting"
)

func init()  {
	setting.Setup()
	models.Setup()

}

func main()  {
	//gin.SetMode(setting.ServerSetting.RunMode)
	//err, info_get, total:= models.GetAllgoods()
	//fmt.Println(info_get)
	//fmt.Println(total)
	//if err!=nil{
	//	panic(err)
	//}

	//err, info_add := models.Addconsumer()
	//fmt.Println(info_add)
	//if err != nil{
	//	panic(err)
	//}

	//err, info_update := models.Updategoods()
	//fmt.Println(info_update)
	//if err != nil{
	//	panic(err)
	//}

	//err, info_add := models.Addconsumer()
	//fmt.Println(info_add)
	//if err != nil{
	//	panic(err)
	//}




}